<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="lib/html5shiv.js"></script>
    <script type="text/javascript" src="lib/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>我的桌面</title>
</head>
<body>
<div class="page-container">

    <p class="f-20 text-success">欢迎使用优易教育<span class="f-14">v1.0</span>后台管理系统！</p>
    <table class="table table-border table-bordered table-bg mt-20">
        <thead>
        <tr>
            <th colspan="2" scope="col">服务器信息</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td width="30%">服务器计算机名</td>
            <td><span id="lbServerName">{{$_SERVER['SERVER_NAME']}}</span></td>
        </tr>
        <tr>
            <td>服务器IP地址</td>
            <td>{{$_SERVER['SERVER_ADDR']}}</td>
        </tr>
        <tr>
            <td>服务器操作系统 </td>
            <td>{{PHP_OS}}</td>
        </tr>
        <tr>
            <td>上传附件限制 </td>
            <td><?php echo get_cfg_var ("upload_max_filesize")?get_cfg_var ("upload_max_filesize"):"不允许上传附件"; ?></td>
        </tr>
        <tr>
            <td>北京时间 </td>
            <td><?php echo date('Y年m月d日 H时i分s秒')?></td>
        </tr>
        <tr>
            <td>服务器的语言种类 </td>
            <td>{{$_SERVER['SERVER_SOFTWARE']}}</td>
        </tr>
        <tr>
            <td>MySQL数据库持续连接</td>
            <td><?php echo get_cfg_var("mysql.allow_persistent")?"是 ":"否"; ?></td>
        </tr>
        <tr>
            <td>PHP 版本 </td>
            <td>{{PHP_VERSION}}</td>
        </tr>
        <tr>
            <td>最大执行时间</td>
            <td><?php echo get_cfg_var("max_execution_time")."秒 "; ?></td>
        </tr>
        <tr>
            <td>脚本运行占用最大内存</td>
            <td><?PHP echo get_cfg_var ("memory_limit")?get_cfg_var("memory_limit"):"无" ?></td>
        </tr>
        </tbody>
    </table>
</div>
<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script>
</body>
</html>